package com.woniuxy.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GoodBrandGeneralDto {
    @ApiModelProperty(value = "品牌和大类的中间表id")
    @TableId(value = "brand_general_id", type = IdType.AUTO)
    private Integer brandGeneralId;

    @ApiModelProperty(value = "品牌id")
    @TableField("brand_id")
    private Integer brandId;

    @ApiModelProperty(value = "大类id")
    @TableField("general_id")
    private Integer generalId;

    @ApiModelProperty(value = "大类名")
    @TableField("goods_general_name")
    private String goodsGeneralName;
}
